<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/testEmail" method="post">
    填写邮箱内容:<input type="text" name="body" required="required"><br>
    邮箱<input type="email" required="required" name="to">
    信息:<input type="submit" value="提交">
</form>
</body>
</html>